package com.tanhua.manage.pojo;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @Author Au
 * @DATE 2020/12/13 17:16
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
@JsonInclude(JsonInclude.Include.NON_NULL)
public class Permission extends BasePojo{
    private Long id;
    private String name;
    private String code;
    private String router;
    private String type;
    private Integer pid;

    private Permission parent; // 当前所属的父权限
}
